package com.chance.cc.crawler.development.command.node.taobao;

import com.chance.cc.crawler.development.command.job.domain.tianmao.TianmaoProductCommentCrawlerScheduleJob;
import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;

/**
 * @author bx
 * @date 2020/12/8 0008 13:37
 */
public class TBCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.215",9505);

        crawlerNodeCommand.nodeStatus();

//        crawlerNodeCommand.killCrawler(TaobaoSearchCrawlerScheduleJob.taobaoSchduler(TaobaoSearchCrawlerScheduleJob.domainId));

//        crawlerNodeCommand.killCrawler(TaobaoProductCommentCrawlerScheduleJob.taobaoSchduler(TaobaoProductCommentCrawlerScheduleJob.domain));

        crawlerNodeCommand.killCrawler(TianmaoProductCommentCrawlerScheduleJob.taobaoSchduler(TianmaoProductCommentCrawlerScheduleJob.domainId));

        crawlerNodeCommand.nodeStatus();

    }
}
